using System;
using System.Collections.Generic;
using ns26;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("Flipbook")]
	public class Flipbook : MonoBehaviour
	{
		public float m_flipbookRate => method_2<float>("m_flipbookRate");

		public bool m_flipbookRandom => method_2<bool>("m_flipbookRandom");

		public List<Vector2> m_flipbookOffsets => method_3<Class250<Vector2>>("m_flipbookOffsets")?.method_25();

		public bool m_animate => method_2<bool>("m_animate");

		public bool m_reverse => method_2<bool>("m_reverse");

		public bool m_RandomRateRange => method_2<bool>("m_RandomRateRange");

		public float m_RandomRateMin => method_2<float>("m_RandomRateMin");

		public float m_RandomRateMax => method_2<float>("m_RandomRateMax");

		public float m_flipbookFrame => method_2<float>("m_flipbookFrame");

		public bool m_flipbookReverse => method_2<bool>("m_flipbookReverse");

		public int m_flipbookLastOffset => method_2<int>("m_flipbookLastOffset");

		public Flipbook(IntPtr address, string className)
			: base(address, className)
		{
		}

		public Flipbook(IntPtr address)
			: this(address, "Flipbook")
		{
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Update()
		{
			method_8("Update");
		}

		public void SetIndex(int i)
		{
			method_8("SetIndex", i);
		}
	}
}
